package com.grass.cropTradingCenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.grass.cropTradingCenter.pojo.dto.shop.RealAuthStateDto;
import com.grass.cropTradingCenter.pojo.dto.shop.ShopHomeData;
import com.grass.cropTradingCenter.pojo.dto.shop.ShopUser;
import com.grass.cropTradingCenter.pojo.entity.MiniShopUser;
import com.grass.cropTradingCenter.pojo.entity.ShopAuth;
import com.grass.cropTradingCenter.pojo.vo.shop.ShopAuthVo;
import com.grass.cropTradingCenter.pojo.vo.user.LoginVo;
import com.grass.cropTradingCenter.pojo.vo.user.RegisterVo;
import com.grass.cropTradingCenter.pojo.vo.user.SendUserLoginVo;

/**
* @author zipan
* @description 针对表【mini_shop_user】的数据库操作Service
* @createDate 2024-01-23 19:41:54
*/
public interface MiniShopUserService extends IService<MiniShopUser> {
    void sendEmailLogin(SendUserLoginVo vo);

    void sendEmailRegister(SendUserLoginVo vo);

    String login(LoginVo vo);

    String register(RegisterVo vo) throws InterruptedException;

    String findPassword(RegisterVo vo) throws InterruptedException;

    ShopUser getUserInfo();

    ShopUser getUserInfo(int userId);

    RealAuthStateDto realAuthState();

    void realAuth(ShopAuthVo vo);

    ShopAuth getRealAuth();

    ShopHomeData homeData();

    MiniShopUser userDetail();

    void updateShopUser(MiniShopUser vo);
}
